export const theDate=()=>(
    () => { 
        let times = (new Date().getHours()) as number;
        
        if (times < 9) {
            return "早上好"
        } else if (times < 11) {
            return "上午好"
        } else if (11 < times && times < 2) {
            return "中午好"
        } else if (times < 18) {
            return "下午好"
        } else { 
            return "晚上好"
        }
        console.log("函数执行了");
        
    }

    
)()